package com.suning.sawp.po.store;

import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
/**
 * 
 * 门店信息实体<br> 
 * 〈功能详细描述〉
 *
 * @author 13071470
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@Document(collection = "StoreInfo")
public class StoreInfo implements Serializable{

    /**
     */
    private static final long serialVersionUID = 1L;
    
    /**
     * 文档id
     */
    @Id
    private String id;
    
    /**
     * 门店编码
     */
    private String storeCode;
    /**
     * 门店名称
     */
    private String storeName;
    /**
     * 城市编码 4位
     */
    private String cityComCode;
    /**
     * 城市名称
     */
    private String cityComName;
    /**
     * 分公司编码
     */
    private String branchCode;
    /**
     * 分公司名称
     */
    private String branchName;
    /**
     * 大区编码 8位
     */
    private String regionCode;
    /**
     * 大区名称
     */
    private String regionName;
    /**
     * 分公司财务编码 4位
     */
    private String saleBranchCode;
    /**
     * 门店级别
     */
    private String storeLevel;
    /**
     * 门店类型名称
     */
    private String storeTypeName;
    /**
     * 门店类型编码
     */
    private String storeTypeCode;
    
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getStoreCode() {
        return storeCode;
    }
    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }
    public String getStoreName() {
        return storeName;
    }
    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }
    public String getCityComCode() {
        return cityComCode;
    }
    public void setCityComCode(String cityComCode) {
        this.cityComCode = cityComCode;
    }
    public String getCityComName() {
        return cityComName;
    }
    public void setCityComName(String cityComName) {
        this.cityComName = cityComName;
    }
    public String getBranchCode() {
        return branchCode;
    }
    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }
    public String getBranchName() {
        return branchName;
    }
    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }
    public String getRegionCode() {
        return regionCode;
    }
    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode;
    }
    public String getRegionName() {
        return regionName;
    }
    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }
    
    public String getSaleBranchCode() {
        return saleBranchCode;
    }
    public void setSaleBranchCode(String saleBranchCode) {
        this.saleBranchCode = saleBranchCode;
    }
    public String getStoreLevel() {
        return storeLevel;
    }
    public void setStoreLevel(String storeLevel) {
        this.storeLevel = storeLevel;
    }
    public String getStoreTypeName() {
        return storeTypeName;
    }
    public void setStoreTypeName(String storeTypeName) {
        this.storeTypeName = storeTypeName;
    }
    public String getStoreTypeCode() {
        return storeTypeCode;
    }
    public void setStoreTypeCode(String storeTypeCode) {
        this.storeTypeCode = storeTypeCode;
    }

    public interface StoreAttributes {
        String STORE_CODE = "storeCode";
        String REGION_CODE = "regionCode";
        String BRANCH_SALE_CODE = "saleBranchCode";
        String BRANCH_CODE = "branchCode";
        String STORE_TYPE_CODE = "storeTypeCode";
    }
    
    public interface ORG_TYPE{
        int SALE_TYPE = 1;
        int HR_TYPE = 0;
    }
}
